package com.gxa.modules.pc.order.mapper;

import com.gxa.modules.model.dto.BookInfoDTO;
import com.gxa.modules.model.dto.TimeAndNumDTO;
import com.gxa.modules.model.entity.book.BookRegister;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 预约挂号表 Mapper 接口
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-12 09:47:44
 */
@Mapper
public interface BookRegisterMapper extends BaseMapper<BookRegister> {
    BookInfoDTO getBookInfo(@Param("departmentName") String departmentName, @Param("workDate") String workDate,@Param("doctorName") String doctorName, @Param("parkId") Integer parkId);

    TimeAndNumDTO getTimeAndNum(@Param("doctorName") String doctorName, @Param("workDate") String workDate);
}
